how to deploy podpreset on kubernetes1.19¶
enable podpreset
–runtime-config=settings.k8s.io/v1alpha1=true –enable-admission-plugins=NamespaceLifecycle…,PodPreset
using
cat podpreset.yaml
kind: PodPreset metadata: name: timezone spec: selector: matchLabels: env: - name: TZ value: CST-8